﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using StockTrader.FrontEnd.OrderTracker.Business;

namespace StockTrader.FrontEnd.OrderTracker
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            //	show the splash form
            Splasher.Show();

            //	process application startup
            DoStartup(args);

            //	if the form is still shown...
            Splasher.Close();
        }

        static void DoStartup(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frmMain());
        }
    }
}
